QI toolkit implementation